<meta http-equiv="content-type" charset="UTF-8">
<link rel="stylesheet" href="<?php echo TEMPLATES_PATH; ?>/promotions/pt-style.css"/>
<header class="layout head padding-small">
    <a href="javascript:pageBack();" class="hBack float-left"></a>
    <h4 class="hTxt float-left text-center text-white"><?php echo $output['html_title']?></h4>
    <a href="javascript:;" id="btnJdkey" class="hHlep float-right"></a>
</header>
<div class="base-wp">
   
    <?php if(!empty($output['list']) && is_array($output['list'])){
            foreach($output['list'] as $i=>$j){
                ?>
                <div class="widget goods com-wgt" >
            <div class="com-wp" <?php if($i==(count($output['goods_list'])-1))echo 'style="border-bottom:0px;"'?>>
                <div class="clearfix com-cnt">
                    <div class="com-pic"><a href="<?php echo ncUrl(array('act'=>'goods','goods_id'=>$j['goods_id']), 'goods');?>"><img
                            alt="" style="width:7rem;height:7rem" class=""
                            src="<?php echo thumb($j,'max');?>"></a>
                    </div>
                    <div class="com-info clearfix">
                        <div class="com-title"><a href="<?php echo ncUrl(array('act'=>'goods','goods_id'=>$j['goods_id']), 'goods');?>"><?php echo $j['goods_name'] ?></a></div>
						<div class="origin-price">批发价：<i class="yen">¥</i><i class="money"><?php if($_SESSION['is_login'] =='1'){ echo $j['goods_store_price']; }else{ echo '<a href="index.php?act=login">登陆后显示价格</a>';}?></i></div>
						<div class="origin-price">特&nbsp;&nbsp;价：<i class="yen">¥</i><i class="money"><?php if($_SESSION['is_login'] =='1'){ echo $j['goods_store_price']; }else{ echo '<a href="index.php?act=login">登陆后显示价格</a>';}?></i></div>
                        <a href="<?php echo ncUrl(array('act'=>'goods','goods_id'=>$j['goods_id']), 'goods');?>" class="sale-stat sale-count">立即抢购</a>
                    </div>
                </div>
            </div>
        </div>
         <?php   } }?>
</div>